import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import router from "./router";
// import "default-passive-events";
//
import VueQuillTextEditor from "vue-quill-text-editor";
import "vue-quill-text-editor/dist/vue-quill-text-editor.esm.css";
//
import "element-plus/dist/index.css";

// 引入全局默认样式
import "./assets/css/reset.css";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import ElementPlus from "element-plus";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";

const app = createApp(App);

app.use(ElementPlus, {
  locale: zhCn,
});

app.use(createPinia()); // 使用pinia插件
app.use(router);

//
app.use(VueQuillTextEditor);
//

app.mount("#app");
